<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stockcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stockcode" data-rule="required" data-source="stockinfo/index" data-field="stockname" data-search-field="stockname" data-primary-key="stockcode" class="form-control selectpage" name="row[stockcode]" type="text" value="{$row.stockcode|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stockdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stockdate" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[stockdate]" type="text" value="{$row.stockdate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Openpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-openpoint" class="form-control" name="row[openpoint]" type="number" value="{$row.openpoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Maxpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-maxpoint" class="form-control" name="row[maxpoint]" type="number" value="{$row.maxpoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Minpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-minpoint" class="form-control" name="row[minpoint]" type="number" value="{$row.minpoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Closepoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-closepoint" class="form-control" name="row[closepoint]" type="number" value="{$row.closepoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
